home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri Kaikille K-CD 2008 #18 / KCD200818.ISO / Euro Truck / ets_1_00_setup.exe / base.scs / ui / template / button.sii next >
Text File  |  2008-07-25  |  26KB  |  194 lines

  1. SiiNunit
  2. {
  3. ui::button_template : btn.editor0 {
  4.     name:"Editor"
  5.     n_pml:"<align hstyle=center vstyle=center><font face=editor.font><color value=ffFFFFFF>%0</font></align>"
  6.     s_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF9B6B4B><ret><align hstyle=center vstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
  7.        s2_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF5B2B0B><ret><align hstyle=center vstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
  8.     p_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF5B2B0B><ret><align hstyle=center vstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
  9.     d_pml:"<align hstyle=center vstyle=center><font face=editor.font><color value=FF707070>%0</font></align>"
  10. }
  11. ui::button_template : btn.txt.normal {
  12.     name:"Normal text - left"
  13.     n_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  14.     s_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  15.        s2_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  16.     p_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  17. }
  18. ui::button_template : btn.txt.normal.selection {
  19.     name:"Normal text - left (with selection)"
  20.     n_pml:"<offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  21.     s_pml:"<offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  22.        s2_pml:"<offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  23.     p_pml:"<offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  24. }
  25. ui::button_template : btn.txt.small.focus {
  26.     name:"Small text - left (with focus)"
  27.     n_pml:"<offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=ffFFFFFF>%0</font></align>"
  28.     s_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=@@rgb_gr_m@@><ret><offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=FFFFFFFF>%0</font></align>"
  29.        s2_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=@@rgb_gr_m@@><ret><offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=FFFFFFFF>%0</font></align>"
  30.     p_pml:"<offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=FFFFFFFF>%0</font></align>"
  31. }
  32. ui::button_template : btn.txt.normal.sort {
  33.     name:"Normal text - left (sorting title variant)"
  34.     n_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0<offset vshift=2><img src=/material/ui/sort_arrow.mat left=0.5></font></align>"
  35.     s_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0<offset vshift=2><img src=/material/ui/sort_arrow.mat left=0.5></font></align>"
  36.        s2_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0<offset vshift=2><img src=/material/ui/sort_arrow.mat right=0.5></font></align>"
  37.     p_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0<offset vshift=2><img src=/material/ui/sort_arrow.mat right=0.5></font></align>"
  38. }
  39. ui::button_template : btn.txt.normal.sort.right {
  40.     name:"Normal text - right (sorting title variant)"
  41.     n_pml:"<align hstyle=right vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0<offset vshift=2><img src=/material/ui/sort_arrow.mat left=0.5></font></align>"
  42.     s_pml:"<align hstyle=right vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0<offset vshift=2><img src=/material/ui/sort_arrow.mat left=0.5></font></align>"
  43.        s2_pml:"<align hstyle=right vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0<offset vshift=2><img src=/material/ui/sort_arrow.mat right=0.5></font></align>"
  44.     p_pml:"<align hstyle=right vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0<offset vshift=2><img src=/material/ui/sort_arrow.mat right=0.5></font></align>"
  45. }
  46. ui::button_template : btn.txt.normal.selection.focus {
  47.     name:"Normal text - left (with selection and focus)"
  48.     n_pml:"<offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  49.     s_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=@@rgb_gr_m@@><ret><offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  50.        s2_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=@@rgb_gr_m@@><ret><offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  51.     p_pml:"<offset hshift=5><align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  52. }
  53. ui::button_template : btn.txt.normal.nf {
  54.     name:"Normal text - left (no focus)"
  55.     n_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  56.     s_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  57.        s2_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  58.     p_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align>"
  59. }
  60. ui::button_template : btn.txt.small.nf {
  61.     name:"Small text - left (no focus)"
  62.     n_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=ffFFFFFF>%0</font></align>"
  63.     s_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=ffFFFFFF>%0</font></align>"
  64.        s2_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=ffFFFFFF>%0</font></align>"
  65.     p_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=ffFFFFFF>%0</font></align>"
  66. }
  67. ui::button_template : btn.txt.normal.nf.dd {
  68.     name:"Normal text - left (no focus, dropdown)"
  69.     n_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align><offset hshift=20 vshift=-6><img src=/material/ui/slider/button_v.mat right=0.5 bottom=0.5>"
  70.     s_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align><offset hshift=20 vshift=-6><img src=/material/ui/slider/button_v.mat right=0.5 bottom=0.5>"
  71.        s2_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align><offset hshift=20 vshift=-6><img src=/material/ui/slider/button_v.mat right=0.5 bottom=0.5>"
  72.     p_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF>%0</font></align><offset hshift=20 vshift=-6><img src=/material/ui/slider/button_v.mat right=0.5 bottom=0.5>"
  73. }
  74. ui::button_template : btn.txt.binding {
  75.     name:"Key Binding "
  76.     n_pml:"<font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF   ><align hstyle=left vstyle=center>%0</align><ret><offset hshift=287><align hstyle=left vstyle=center>%1</align><ret><offset hshift=441><align hstyle=left vstyle=center>%2</align></font>"
  77.     s_pml:"<font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@><align hstyle=left vstyle=center>%0</align><ret><offset hshift=287><align hstyle=left vstyle=center>%1</align><ret><offset hshift=441><align hstyle=left vstyle=center>%2</align></font>"
  78.        s2_pml:"<font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@><align hstyle=left vstyle=center>%0</align><ret><offset hshift=287><align hstyle=left vstyle=center>%1</align><ret><offset hshift=441><align hstyle=left vstyle=center>%2</align></font>"
  79.     p_pml:"<font face=/font/@@encoding@@/normal.font><color value=ffFFFFFF   ><align hstyle=left vstyle=center>%0</align><ret><offset hshift=287><align hstyle=left vstyle=center>%1</align><ret><offset hshift=441><align hstyle=left vstyle=center>%2</align></font>"
  80. }
  81. ui::button_template : btn.savegame0 {
  82.     name:"Save Game button"
  83.     n_pml:"<nowrap><img src=/material/ui/white.mat xscale=stretch height=96 width=126 color=FD848484><ret><offset hshift=126><img src=/material/ui/white.mat xscale=stretch height=96 color=ED969696><ret><offset hshift=8 vshift=7><img src=%0 width=110 height=82><ret><offset hshift=23 vshift=7><img src=/material/ui/save_background.mat kr=center color=%4FFFFFF width=82 height=82><ret><offset hshift=8 vshift=7><img src=/material/ui/white.mat width=110 height=2 color=FFFFFFFF><ret><offset hshift=8 vshift=7><img src=/material/ui/white.mat width=2 height=82 color=FFFFFFFF><ret><offset hshift=116 vshift=7><img src=/material/ui/white.mat width=2 height=82 color=FFFFFFFF><ret><offset hshift=8 vshift=87><img src=/material/ui/white.mat width=110 height=2 color=FFFFFFFF><ret><offset hshift=135 vshift=10><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%1</font><ret><offset hshift=135 vshift=45><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%2</font><ret><offset hshift=135 vshift=75><align hstyle=right right=-15><font  face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%3</font></align></nowrap>"
  84.     s_pml:"<nowrap><img src=/material/ui/white.mat xscale=stretch height=96 width=126 color=FD848484><ret><offset hshift=126><img src=/material/ui/white.mat xscale=stretch height=96 color=ED969696><ret><offset hshift=8 vshift=7><img src=%0 width=110 height=82><ret><offset hshift=23 vshift=7><img src=/material/ui/save_background.mat kr=center color=%4FFFFFF width=82 height=82><ret><offset hshift=8 vshift=7><img src=/material/ui/white.mat width=110 height=2 color=FFFFFFFF><ret><offset hshift=8 vshift=7><img src=/material/ui/white.mat width=2 height=82 color=FFFFFFFF><ret><offset hshift=116 vshift=7><img src=/material/ui/white.mat width=2 height=82 color=FFFFFFFF><ret><offset hshift=8 vshift=87><img src=/material/ui/white.mat width=110 height=2 color=FFFFFFFF><ret><offset hshift=135 vshift=10><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%1</font><ret><offset hshift=135 vshift=45><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%2</font><ret><offset hshift=135 vshift=75><align hstyle=right right=-15><font  face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%3</font></align></nowrap>"
  85.        s2_pml:"<nowrap><img src=/material/ui/white.mat xscale=stretch height=96 width=126 color=FD848484><ret><offset hshift=126><img src=/material/ui/white.mat xscale=stretch height=96 color=ED747474><ret><offset hshift=8 vshift=7><img src=%0 width=110 height=82><ret><offset hshift=23 vshift=7><img src=/material/ui/save_background.mat kr=center color=%4FFFFFF width=82 height=82><ret><offset hshift=8 vshift=7><img src=/material/ui/white.mat width=110 height=2 color=FF7CC0F6><ret><offset hshift=8 vshift=7><img src=/material/ui/white.mat width=2 height=82 color=FF7CC0F6><ret><offset hshift=116 vshift=7><img src=/material/ui/white.mat width=2 height=82 color=FF7CC0F6><ret><offset hshift=8 vshift=87><img src=/material/ui/white.mat width=110 height=2 color=FF7CC0F6><ret><offset hshift=135 vshift=10><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%1</font><ret><offset hshift=135 vshift=45><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%2</font><ret><offset hshift=135 vshift=75><align hstyle=right right=-15><font  face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%3</font></align></nowrap>"
  86.     p_pml:"<nowrap><img src=/material/ui/white.mat xscale=stretch height=96 width=126 color=FD848484><ret><offset hshift=126><img src=/material/ui/white.mat xscale=stretch height=96 color=ED747474><ret><offset hshift=8 vshift=7><img src=%0 width=110 height=82><ret><offset hshift=23 vshift=7><img src=/material/ui/save_background.mat kr=center color=%4FFFFFF width=82 height=82><ret><offset hshift=8 vshift=7><img src=/material/ui/white.mat width=110 height=2 color=FF7CC0F6><ret><offset hshift=8 vshift=7><img src=/material/ui/white.mat width=2 height=82 color=FF7CC0F6><ret><offset hshift=116 vshift=7><img src=/material/ui/white.mat width=2 height=82 color=FF7CC0F6><ret><offset hshift=8 vshift=87><img src=/material/ui/white.mat width=110 height=2 color=FF7CC0F6><ret><offset hshift=135 vshift=10><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%1</font><ret><offset hshift=135 vshift=45><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%2</font><ret><offset hshift=135 vshift=75><align hstyle=right right=-15><font  face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%3</font></align></nowrap>"
  87.     width: 400
  88.     height: 96
  89. }
  90. ui::button_template : btn.checkbox {
  91.     name:"Checkbox"
  92.     n_pml:""
  93.     s_pml:""
  94.        s2_pml:"<align hstyle=center vstyle=center><img src=/material/ui/button/check.mat></align>"
  95.     p_pml:"<align hstyle=center vstyle=center><img src=/material/ui/button/check.mat></align>"
  96.     d_pml:""
  97.     width: 22
  98.     height: 20
  99. }
  100. ui::button_template : btn.txt.small {
  101.     name:"Small text - left Dark"
  102.     n_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=@@rgb_gr_d@@>%0</font></align>"
  103.     s_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=@@rgb_gr_d@@>%0</font></align>"
  104.        s2_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=@@rgb_gr_d@@>%0</font></align>"
  105.     p_pml:"<align hstyle=left vstyle=center><font face=/font/@@encoding@@/small.font><color value=@@rgb_gr_d@@>%0</font></align>"
  106. }
  107.  
  108.  
  109. ui::button_template : btn.scaled {
  110.     name:"Scaled button"
  111.     n_pml:"<offset vshift=50><align hstyle=center><font face=/font/@@encoding@@/big.font xscale=0.8 yscale=-0.8><color value=30666666>%0</font></align><ret><offset vshift=12><align hstyle=center><font face=/font/@@encoding@@/big.font xscale=0.8 yscale=0.8><color value=@@rgb_sel@@>%0</font></align>"
  112.     s_pml:"<offset vshift=50><align hstyle=center><font face=/font/@@encoding@@/big.font xscale=0.8 yscale=-0.8><color value=30666666>%0</font></align><ret><offset vshift=12><align hstyle=center><font face=/font/@@encoding@@/big.font xscale=0.8 yscale=0.8><color value=@@rgb_sel@@>%0</font></align>"
  113.        s2_pml:"<offset vshift=50><align hstyle=center><font face=/font/@@encoding@@/big.font xscale=0.8 yscale=-0.8><color value=30666666>%0</font></align><ret><offset vshift=12><align hstyle=center><font face=/font/@@encoding@@/big.font xscale=0.8 yscale=0.8><color value=@@rgb_gr_d@@>%0</font></align>"
  114.     p_pml:"<offset vshift=50><align hstyle=center><font face=/font/@@encoding@@/big.font xscale=0.8 yscale=-0.8><color value=30666666>%0</font></align><ret><offset vshift=12><align hstyle=center><font face=/font/@@encoding@@/big.font xscale=0.8 yscale=0.8><color value=@@rgb_gr_d@@>%0</font></align>"
  115. }
  116. ui::button_template : btn.normal {
  117.     name:"Normal button"
  118.     n_pml:"<offset hshift=4 vshift=-6><img src=/material/ui/button/center_n.mat width=-4 yscale=repeat><ret><offset vshift=-6><img src=/material/ui/button/edge.mat><ret><offset vshift=-6><align hstyle=right><img src=/material/ui/button/edge.mat left=1 right=0></align><ret><align hstyle=center><font face=/font/@@encoding@@/normal.font>%0</font></align>"
  119.     s_pml:"<offset hshift=4 vshift=-6><img src=/material/ui/button/center_n.mat width=-4 yscale=repeat><ret><offset vshift=-6><img src=/material/ui/button/edge.mat><ret><offset vshift=-6><align hstyle=right><img src=/material/ui/button/edge.mat left=1 right=0></align><ret><align hstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  120.        s2_pml:"<offset hshift=4 vshift=-6><img src=/material/ui/button/center_n.mat width=-4 yscale=repeat><ret><offset vshift=-6><img src=/material/ui/button/edge.mat><ret><offset vshift=-6><align hstyle=right><img src=/material/ui/button/edge.mat left=1 right=0></align><ret><align hstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  121.     p_pml:"<offset hshift=4 vshift=-6><img src=/material/ui/button/center_h.mat width=-4 yscale=repeat><ret><offset vshift=-6><img src=/material/ui/button/edge.mat><ret><offset vshift=-6><align hstyle=right><img src=/material/ui/button/edge.mat left=1 right=0></align><ret><align hstyle=center><font face=/font/@@encoding@@/normal.font>%0</font></align>"
  122. }
  123. ui::button_template : btn.normal.red {
  124.     name:"Normal button RED"
  125.     n_pml:"<offset hshift=4 vshift=-6><img src=/material/ui/button/center_n.mat width=-4 yscale=repeat><ret><offset vshift=-6><img src=/material/ui/button/edge.mat><ret><offset vshift=-6><align hstyle=right><img src=/material/ui/button/edge.mat left=1 right=0></align><ret><align hstyle=center><font face=/font/@@encoding@@/normal.font><color value=FF4545FF>%0</font></align>"
  126.     s_pml:"<offset hshift=4 vshift=-6><img src=/material/ui/button/center_n.mat width=-4 yscale=repeat><ret><offset vshift=-6><img src=/material/ui/button/edge.mat><ret><offset vshift=-6><align hstyle=right><img src=/material/ui/button/edge.mat left=1 right=0></align><ret><align hstyle=center><font face=/font/@@encoding@@/normal.font><color value=FF4545FF>%0</font></align>"
  127.        s2_pml:"<offset hshift=4 vshift=-6><img src=/material/ui/button/center_n.mat width=-4 yscale=repeat><ret><offset vshift=-6><img src=/material/ui/button/edge.mat><ret><offset vshift=-6><align hstyle=right><img src=/material/ui/button/edge.mat left=1 right=0></align><ret><align hstyle=center><font face=/font/@@encoding@@/normal.font><color value=FF4545FF>%0</font></align>"
  128.     p_pml:"<offset hshift=4 vshift=-6><img src=/material/ui/button/center_h.mat width=-4 yscale=repeat><ret><offset vshift=-6><img src=/material/ui/button/edge.mat><ret><offset vshift=-6><align hstyle=right><img src=/material/ui/button/edge.mat left=1 right=0></align><ret><align hstyle=center><font face=/font/@@encoding@@/normal.font><color value=FF4545FF>%0</font></align>"
  129. }
  130. ui::button_template : btn.normal.text {
  131.     name:"Normal Text button"
  132.     n_pml:"<align hstyle=center vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%0</font></align>"
  133.     s_pml:"<align hstyle=center vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  134.        s2_pml:"<align hstyle=center vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  135.     p_pml:"<align hstyle=center vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%0</font></align>"
  136. }
  137. ui::button_template : btn.italic {
  138.     name:"Italic button"
  139.     n_pml:"<align hstyle=%0 vstyle=center><font face=/font/@@encoding@@/italic.font><color value=@@rgb_gr_m@@>%1</font></align>"
  140.     s_pml:"<align hstyle=%0 vstyle=center><font face=/font/@@encoding@@/italic.font><color value=@@rgb_sel@@>%1</font></align>"
  141.        s2_pml:"<align hstyle=%0 vstyle=center><font face=/font/@@encoding@@/italic.font><color value=@@rgb_sel@@>%1</font></align>"
  142.     p_pml:"<align hstyle=%0 vstyle=center><font face=/font/@@encoding@@/italic.font><color value=@@rgb_gr_m@@>%1</font></align>"
  143. }
  144.  
  145. ui::button_template : btn.text.center {
  146.     name:"Text button"
  147.     n_pml:"<align hstyle=center vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%0</font></align>"
  148.     s_pml:"<align hstyle=center vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_gr_l@@>%0</font></align>"
  149.        s2_pml:"<align hstyle=center vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  150.     p_pml:"<align hstyle=center vstyle=center><font face=/font/@@encoding@@/normal.font><color value=@@rgb_sel@@>%0</font></align>"
  151. }
  152.  
  153. ui::button_template : btn.color {
  154.     name:"Color button"
  155.     n_pml:"<offset vshift=2 hshift=2><img src=/material/ui/white.mat width=-2 height=-2 color=%0>"
  156.     s_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><offset vshift=2 hshift=2><img src=/material/ui/white.mat width=-2 height=-2 color=%0>"
  157.        s2_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><offset vshift=2 hshift=2><img src=/material/ui/white.mat width=-2 height=-2 color=%0>"
  158.     p_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><offset vshift=2 hshift=2><img src=/material/ui/white.mat width=-2 height=-2 color=%0>"
  159. }
  160.  
  161. ui::button_template : btn.job.offer {
  162.     name:"Job offer"
  163.     n_pml:"<offset hshift=5><font face=/font/@@encoding@@/normal.font>%0</font><ret><offset hshift=156><font face=/font/@@encoding@@/normal.font>%1</font><ret><align hstyle=right><font face=/font/@@encoding@@/normal.font>%2</font></align><ret><offset hshift=264 vshift=4><img src=/material/ui/white.mat width=72 height=10 color=FF303030><ret><offset hshift=264 vshift=4><img src=/material/ui/white.mat width=%3 height=10 color=FFA0A0A0><ret><offset hshift=264 vshift=1><align hstyle=center right=-64><font face=/font/@@encoding@@/small.font><color value=FFFFFFFF>%4</font></align>"
  164.     s_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=@@rgb_gr_m@@><ret><offset hshift=5><font face=/font/@@encoding@@/normal.font>%0</font><ret><offset hshift=156><font face=/font/@@encoding@@/normal.font>%1</font><ret><align hstyle=right><font face=/font/@@encoding@@/normal.font>%2</font></align><ret><offset hshift=264 vshift=4><img src=/material/ui/white.mat width=72 height=10 color=FF303030><ret><offset hshift=264 vshift=4><img src=/material/ui/white.mat width=%3 height=10 color=FFA0A0A0><ret><offset hshift=264 vshift=1><align hstyle=center right=-64><font face=/font/@@encoding@@/small.font><color value=FFFFFFFF>%4</font></align>"
  165.        s2_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=@@rgb_gr_m@@><ret><offset hshift=5><color value=@@rgb_sel@@><font face=/font/@@encoding@@/normal.font>%0</font><ret><offset hshift=156><font face=/font/@@encoding@@/normal.font>%1</font><ret><align hstyle=right><font face=/font/@@encoding@@/normal.font>%2</font></align><ret><offset hshift=264 vshift=4><img src=/material/ui/white.mat width=72 height=10 color=FF303030><ret><offset hshift=264 vshift=4><img src=/material/ui/white.mat width=%3 height=10 color=FFA0A0A0><ret><offset hshift=264 vshift=1><align hstyle=center right=-64><font face=/font/@@encoding@@/small.font>%4</font></align>"
  166.     p_pml:"<offset hshift=5><color value=@@rgb_sel@@><font face=/font/@@encoding@@/normal.font>%0</font><ret><offset hshift=156><font face=/font/@@encoding@@/normal.font>%1</font><ret><align hstyle=right><font face=/font/@@encoding@@/normal.font>%2</font></align><ret><offset hshift=264 vshift=4><img src=/material/ui/white.mat width=72 height=10 color=FF303030><ret><offset hshift=264 vshift=4><img src=/material/ui/white.mat width=%3 height=10 color=FFA0A0A0><ret><offset hshift=264 vshift=1><align hstyle=center right=-64><font face=/font/@@encoding@@/small.font>%4</font></align>"
  167. }
  168.  
  169. ui::button_template : btn.career.star {
  170.     name:"Career Star"
  171.     n_pml:"<img src=/material/ui/hud/pics.mat right=0.5 bottom=0.5 color=@@rgb_gr_l@@>"
  172.     s_pml:"<img src=/material/ui/hud/pics.mat right=0.5 bottom=0.5 color=FF000000><ret><offset vshift=-2><img src=/material/ui/hud/pics.mat right=0.5 bottom=0.5 color=@@rgb_gr_l@@>"
  173.        s2_pml:"<img src=/material/ui/hud/pics.mat right=0.5 bottom=0.5 color=FF000000><ret><offset vshift=-2><img src=/material/ui/hud/pics.mat right=0.5 bottom=0.5 color=FF02b3e1>"
  174.     p_pml:"<img src=/material/ui/hud/pics.mat right=0.5 bottom=0.5 color=FF02b3e1>"
  175. }
  176.  
  177. ui::button_template : btn.txt.statistics {
  178.     name:"Statistics text"
  179.     n_pml:"<offset hshift=4 vshift=-2><align hstyle=left vstyle=bottom><font face=/font/@@encoding@@/small.font>%0</font></align><align hstyle=right right=-4 vstyle=bottom><font face=/font/@@encoding@@/normal.font>%1</align>"
  180.     s_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=@@rgb_gr_m@@><ret><offset hshift=4 vshift=-2><align hstyle=left vstyle=bottom><font face=/font/@@encoding@@/small.font>%0</font></align><align hstyle=right right=-4 vstyle=bottom><font face=/font/@@encoding@@/normal.font>%1</align>"
  181.     s2_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=@@rgb_gr_m@@><ret><offset hshift=4 vshift=-2><align hstyle=left vstyle=bottom><font face=/font/@@encoding@@/small.font>%0</font></align><align hstyle=right right=-4 vstyle=bottom><font face=/font/@@encoding@@/normal.font>%1</align>"
  182.     p_pml:"<offset hshift=4 vshift=-2><align hstyle=left vstyle=bottom><font face=/font/@@encoding@@/small.font>%0</font></align><align hstyle=right right=-4 vstyle=bottom><font face=/font/@@encoding@@/normal.font>%1</align>"
  183. }
  184.  
  185.  
  186. ui::button_template : btn.zoom {
  187.     name:"Zoom button"
  188.     n_pml:"<img src=/material/ui/button/zoom.mat %0=0.5 top=0.5>"
  189.     s_pml:"<img src=/material/ui/button/zoom.mat %0=0.5 top=0.5>"
  190.        s2_pml:"<img src=/material/ui/button/zoom.mat %0=0.5 top=0.5>"
  191.     p_pml:"<img src=/material/ui/button/zoom.mat %0=0.5 bottom=0.5>"
  192. }
  193. }
  194.